<%@ page import="org.sky.autoconfigure.factory.SkyPropertiesFactory" %>
<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <!-- 放在第一行 兼容低版本IE-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="UTF-8">
    <title>系统登录</title>
    <c:url value="/" var="basepath"></c:url>
    <c:set value="jquery-easyui-1.5.4.5" var="easyui"></c:set>
    <script type="text/javascript">
        var basepath='${basepath}';
    </script>
    <!--好像必须16*16-->
    <link rel="shortcut icon" href="${basepath}static/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" type="text/css" href="${basepath}static/plugins/${easyui}/themes/default/easyui.css"/>
    <link rel="stylesheet" type="text/css" href="${basepath}static/plugins/easyui-css/IconExtension.css"/>
    <link rel="stylesheet" type="text/css" href="${basepath}static/css/sky.css"/>

    <script type="text/javascript" src="${basepath}static/plugins/jquery/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="${basepath}static/plugins/jquery/jquery.cookie.js"></script>
    <script type="text/javascript" src="${basepath}static/plugins/${easyui}/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="${basepath}static/plugins/${easyui}/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="${basepath}static/js/md5.js"></script>
    <style type="text/css">
        body {
            background-size: cover;
            overflow-x: hidden;
            overflow-y: hidden;
            background-color: #2E4356;
        }
    </style>
</head>
<body>
<form id="loginform" action="${basepath}j_spring_security_check" method="post" class='login_form'>
    <input type="hidden" name="username" id="j_username" value=''/>
    <input type="hidden" name="password" id="j_password" value=''/>
</form>
</body>
<script type="text/javascript">
    var username = '${username}';
    var password = '${password}'
    $(function(){
        $('#j_username').val(username);
        $('#j_password').val(password);
        $("#loginform").submit();
    });
</script>
</html>